package com.smzd.framework.system.domain;

import java.util.Date;
import java.util.List;

import com.smzd.core.domain.BaseIntIdEntity;
import com.smzd.framework.annotation.ModuleGroup;

@ModuleGroup("system")
public class Module extends BaseIntIdEntity {
	private static final long serialVersionUID = 3389788309649753195L;
	
	private String author;
	private Date pubDate;
	private Date installDate;
	
	private List<Function> functions;
	
	private transient Boolean checked;
	
	public Module(){}
	public Module(int id){
		super(id);
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getPubDate() {
		return pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	public Date getInstallDate() {
		return installDate;
	}

	public void setInstallDate(Date installDate) {
		this.installDate = installDate;
	}

	public List<Function> getFunctions() {
		return functions;
	}

	public void setFunctions(List<Function> functions) {
		this.functions = functions;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

}
